<?php

namespace App\Models;

use App\BtApi;
use Exception;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use SoapClient;
use SoapParam;

class AdvertPrice extends Model
{
    use SoftDeletes;
    protected $table ='advert_price';

    public function advert(){
        return $this->belongsTo('App\Models\Advert','advert_id','id');
    }

    public function user(){
        return $this->belongsTo('App\Models\User','user_id','id');
    }
}
